<?php
namespace Application\Model\Dao;

use Zend\Db\Adapter\Adapter;

class BaseDao
{

    protected $adapter;

    public static $dbConfig = array(
        'host' => '127.0.0.1',
        'driver' => 'Mysqli',
        'database' => 'community',
        'username' => 'root',
        'password' => '',
        'options' => array(
                 'buffer_results' => true,
         ),
    );

    public function __construct()
    {
        // get Adpater;
        $this->adapter = new Adapter(BaseDao::$dbConfig);
    }
    
    protected function executeQuery(){
        
    }
}

?>
